package com.ambimmort.shj.action.dpi.users.group;

import com.ambimmort.shj.service.dpi.users.group.Dpi_Users_GroupService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;

import javax.servlet.http.HttpServletRequest;

/**
 * Created by Administrator on 2015/7/30.
 */
@Controller("/action/dpium/group/list.do")
public class List {

    @Autowired
    private Dpi_Users_GroupService dpi_users_groupService;

    @RequestMapping("/action/dpium/group/list.do")
    @ResponseBody
    public String action_DpiUsersGroupList(HttpServletRequest request, @RequestParam("iDisplayStart") String iDisplayStart, @RequestParam("iDisplayLength") String iDisplayLength, @RequestParam("instanceName") String instanceName) throws Throwable {
        return dpi_users_groupService.listGroup(iDisplayStart,iDisplayLength,instanceName);

    }
}
